<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title>{$subcategory_name}资质代办攻略_政策-奇快企服{$pagetext}</title>
		<meta name="applicable-device" content="pc">
	    <meta name="mobile-agent" content="format=html5; url="https://m.qikuai100.com/zxlist/" >
	    <meta name="mobile-agent" content="format=xhtml; url="https://m.qikuai100.com/zxlist/" >
	    <meta name="mobile-agent" content="format=wml; url="https://m.qikuai100.com/zxlist/" >
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
		<meta name="keywords" content="{$subcategory_name}资质代办攻略，{$subcategory_name}资质代办政策">
		<meta name="description" content="上奇快企服了解最全{$subcategory_name}代办资质攻略，最新{$subcategory_name}资质代办资讯。为您提供{$year}最新最全的建筑资质信息解读，建筑资质代办攻略以及建筑资质办理政策">

		<link rel="icon" href="/icon.png">
		<link rel="stylesheet" href="/static/index/css/reset.css" />
		<link rel="stylesheet" href="/static/index/lib/bootstrap.css" />

		<link rel="stylesheet" href="/static/index/css/common.css" />
		<link rel="stylesheet" href="/static/index/css/home.css" />
		<link rel="stylesheet" href="/static/index/css/company.css" />

		<link rel="stylesheet" href="/static/index/css/infor.css" />
		<link rel="stylesheet" href="/static/index/lib/pick-pcc.css" />

		<script src="/static/index/lib/jquery-2.1.4.js"></script>
		<script src="/static/index/lib/bootstrap.min.js"></script>
		
		<script type="text/javascript" src="/static/index/lib/template.js"></script>
		<style type="text/css">
	    .pageTest{ height: 50px; margin-top: 100px;    }
	    .activP{
	      background-color: #367fa9!important;
	      color: #fff!important;
	    }
	    .pick-show{border: none;}
	    </style>
	    <script>
			var _hmt = _hmt || [];
			(function() {
			  var hm = document.createElement("script");
			  hm.src = "https://hm.baidu.com/hm.js?8b340ebdd740974de9d621b14ab09b43";
			  var s = document.getElementsByTagName("script")[0]; 
			  s.parentNode.insertBefore(hm, s);
			})();
		</script>
	</head>

	<body>
		{include file="public/push"}
		{include file="public/header"}

		<div class="widthFullScreen company_container" style="padding-top: 0;">
			<div class="nav_common wdSafe" style="overflow: hidden;">
		        <ol class="breadcrumb pull-left">
		            <li><a href="/">首页</a></li>
		            <li><a href="/zxlist/">行业资讯</a></li>
		            <li class="active">{$subcategory_name}</li>
		        </ol>
		    </div>
			<div class="wdSafe company_wrap">
				<!-- 筛选 -->
				<!-- <div class="shaixuan_wrap border_bottom clearfix">
					<div class="pull-left label_title">地区：</div>
					<ul class="pull-left list_shaixuan clearfix">
						<li class="active">
							<a href="javascript:;">全国</a>
						</li>
						<li>
							<a href="javascript:;">北京市</a>
						</li>
					</ul>
					<div class="pull-right moreBtn accordion-toggle" data-toggle="collapse" data-parent="#accordion2" href="#collapseOne">更多
						<div class="dropup pull-right"><span class="caret"></span></div>
						<div class="dropdown pull-right"><span class="caret"></span></div>
					</div>
					<br>
					<div id="collapseOne" class="accordion-body collapse" style="height: 0px; padding-left: 42px;">
						<ul class="pull-left list_shaixuan clearfix">
							<li class="active">
								<a href="javascript:;">不限</a>
							</li>
							<li>
								<a href="javascript:;">施工总承包</a>
							</li>
							<li>
								<a href="javascript:;">施工专业承包</a>
							</li>
						</ul>
					</div>
				</div> -->
				<div class="shaixuan_wrap clearfix">
					<div class="pull-left label_title">资质类别：</div>
					<ul class="pull-left list_shaixuan clearfix" id="OneCategoryHtml">
						{foreach $news_category_list as $item}
							{if condition= "$item.id eq 0"}
							    <li class="chooseClass active"><a href="/zxlist/{$item.id}/1/">{$item.category_name}</a>

							{else/}
							    <li class="chooseClass"><a href="/zxlist/{$item.id}/1/">{$item.category_name}</a>
							</li>
							{/if}
						{/foreach}
					</ul>
					<div class="pull-right moreBtn accordion-toggle" data-toggle="collapse" data-parent="#accordion2" href="#collapseTwo">更多
						<!--<div class="dropup pull-right"><span class="caret"></span></div>-->
						<div class="dropdown pull-right"><span class="caret"></span></div>
					</div>
					<br>
					<div id="collapseTwo" class="accordion-body collapse" style="height: 0px; padding-left: 42px;">
						<ul class="pull-left list_shaixuan clearfix" id="twoCategoryHtml">
							{foreach $all_category_list as $item}
							    <li class="chooseClass"><a href="/zxlist/{$item.id}/1/">{$item.category_name}</a>
							{/foreach}

						</ul>
					</div>
				</div>
			</div>

			<div class="wdSafe infor_list_wrap clearfix ">

				<div class="left_box pull-left">
					<div>
					 <!--定义模板-->
			    		{foreach $news_list as $item }
				    		<div class="company_tap">
								<a href="/zx/{$item.id}/" class="pull-left infor_item">
									<img class="item_infor_img pull-left" src="{$item.poster}" alt="" />
									<div class="pull-right itemRight">
										<div class="item_name_top ellipcs">{$item.title}</div>
										<div class="item_word">
											{$item.desc}
										</div>
										<div class="item_bottom">
											<span>{$item.create_time}</span>
											<span>标签：</span>
											<span>{$item.key_words}</span>
										</div>
									</div>
								</a>
							</div>
        				{/foreach}
						<!-- 分页 -->
						<div class="pageBox_com" id="pageScriptrBox">
							<!-- <a href="/zxlist/{$id}/1" class="page_btn pageFirstBox">首页</a>
							<a href="/zxlist/{$id}/1" class="page_btn pageNum_box active">1</a>
							<a href="/zxlist/{$id}/2" class="page_btn pageNum_box">2</a>
							<a href="/zxlist/{$id}/3" class="page_btn pageNum_box">3</a>
							<a href="/zxlist/{$id}/3" class="page_btn pageLastBox">尾页</a> -->
						</div>
        				<!-- <div class="pageTest"></div> -->
					</div>

				</div>
				<div class="right_box pull-right">
					<!-- 免费获取报价 -->
					<div class="form_box" style="width: 100%; height: auto; padding: 0;">
						<div class="form_title text-center inforRightTitle">快速申请资质</div>
						<div class="form_sub_title text-center">今日已有<span>890</span>人已办理</div>
						<div style="padding: 0 45px 60px;">
							<input style="border: none;margin-bottom: 20px;" class="bannerIpt bgName" id="name" type="text" placeholder="请输入姓名"/>
							<div style="border: none;" class="pick-area bgAddress pick-area2" name="" style="margin-top: 24px;"></div>
							<input style="border: none;" class="bannerIpt bgPhone" id="phone" type="number" placeholder="请输入联系电话"/>
							<div class="codeBox" style="border: none;background: #fff;">
								<input type="text" name="" id="codeNum" value="" placeholder="请输入验证码" class="codeNumBox"/>
								<input type="button" name="" id="sendCode" value="发送验证码" class="sendCodeBox" />
							</div>
							<input class="form_box_btn" onclick="getOrder()" value="免费咨询报价" type="button" />
						</div>
					</div>

					<!-- 热门咨询 -->
					<div class="hot_company">
						<div class="top_bg_hot"></div>
						<div class="hot_list_infor">
							<div class="hot_title text-center">热门咨询</div>
    						{foreach hot_news_list as $item }
    							<a href="/zx/{$item.id}/" class="hot_zixun ellipcs">{$item.title}</a>
    						{/foreach}
						</div>
						<div class="bottom_bg_hot">资质帮手放心的平台</div>
					</div>

					<!-- 服务优势 -->
					<div class="sever_advantage">
						<div class="hot_title text-center" style="border-bottom: none;">热门资质分类</div>
						<div class="advantage_dt clearfix">
							<div class="advantage_name pull-left">简便</div>
							<div class="advantage_text pull-left">
								<p>繁琐程序</p>
								<div>资质专家一步搞定</div>
							</div>
						</div>
						<div class="advantage_dt clearfix">
							<div class="advantage_name pull-left">透明</div>
							<div class="advantage_text pull-left">
								<p>严格监管</p>
								<div>服务报价，保障价格透明</div>
							</div>
						</div>
						<div class="advantage_dt clearfix">
							<div class="advantage_name pull-left">专业</div>
							<div class="advantage_text pull-left">
								<p>服务经过</p>
								<div>严格审核，绝对真实专业</div>
							</div>
						</div>
						<div class="code_box clearfix">
							<img class="code_pic" src="https://img.qikuai100.com/code.jpg" alt="" />
							<div class="code_text">关注生活号，实时掌握最新动态</div>
						</div>
					</div>

				</div>

			</div>

		</div>

		<div class="widthFullScreen heightGray"></div>

		{include file="public/footer"}
		<script type="text/javascript" src="/static/index/lib/pick-pcc.min.1.0.2.js"></script>
		<script type="text/javascript" src="/static/index/layer/layer.js"></script>
		<script type="text/javascript" src="/static/index/js/orderCode.js"></script>

		<script>
			$(".pick-area2").pickArea({
				"format": "省份/城市", //格式
				"width": "288",
				"borderColor": "#d9eeff", //文本边框的色值
				"arrowColor": "#555555", //箭头颜色
				"listBdColor": "#c5c6c6", //下拉框父元素ul的border色值
				"color": "#666666", //字体颜色
				"fontSize": "16px", //字体大小
				"paddingLeft": "38px",
				"arrowRight": "10px",
				"preSet": "北京市/市辖区",
				"getVal": function() {
					console.log($(".pick-area-hidden").val())
				}
			});
			
			var baseUrl = 'https://api.qikuai100.com/';
			var categoriesList = { // 所有资质类别重新组成的数据
				name: "资质类别",
				cateList: []
			};
			var pageNum = {$page};
			var totalPageNum = 0;
			var dId = {$id}; // 传递的id

			$(function() {
//				initChooseList();
				initDate();
			});
			
			/**
			 * 资质筛选
			 * **/
			function initChooseList() {
				$.ajax({
					type: "POST",
					url: baseUrl + "api/category/list",
					data: {
						"type": 1
					},
					success: function(result) {
						if(result.ret == 0) {
							var dataL = result;
							for(var i = 0; i < result.data.length; i++) {
								for(var j = 0; j < result.data[i].subcategoy.length; j++) {
									categoriesList.cateList.push(result.data[i].subcategoy[j]);
								}
							}
							var json = {
								category_name: '不限',
								id: 0
							}
							categoriesList.cateList.unshift(json);

							var html = '',
								htmlMore = '';
							for(var i = 0; i < categoriesList.cateList.length; i++) {
								var chooseClass = '';
								categoriesList.cateList[i].id == dId ? chooseClass = 'active' : chooseClass = '';
								if(i <= 6) {
									html += '<li class="' + chooseClass + '" >' +
										'<a href="/zxlist/' + categoriesList.cateList[i].id + '/1/">' + categoriesList.cateList[i].category_name + '</a>' +
										'</li>';
								} else {
									htmlMore += '<li class="' + chooseClass + '" >' +
										'<a href="/zxlist/' + categoriesList.cateList[i].id + '/1/">' + categoriesList.cateList[i].category_name + '</a>' +
										'</li>';
								}
							}
							$('#OneCategoryHtml').html(html);
							$('#twoCategoryHtml').html(htmlMore);
						}
					}
				});
			}
			/**
			 * 分页
			 * **/
			function initDate() {
				$.ajax({
					type: "POST",
					url: baseUrl + "api/news/list",
					data: {
						page: pageNum,
						subcategory_id: dId
					},
					success: function(result) {
						console.log(result)
						if(result.ret == 0) {
					        totalPageNum = result.data.totalPage;
					        var html = '<a href="/zxlist/'+ dId +'/1/" class="page_btn pageNum_box">首页</a>';
					        var activeStyle = result.data.currentPage;
					        for(var i = 0; i < totalPageNum; i++){
					        	var num = i + 1;
					        	if(num == activeStyle){
									html += '<a href="/zxlist/'+ dId +'/'+ num +'/" class="page_btn pageNum_box active">'+ num +'</a>'
					        	}else{
					        		html += '<a href="/zxlist/'+ dId +'/'+ num +'/" class="page_btn pageNum_box">'+ num +'</a>'
					        	}
					        }
					        html += '<a href="/zxlist/'+ dId +'/'+ totalPageNum +'/" class="page_btn pageLastBox">尾页</a>';
					        $('#pageScriptrBox').html(html);
						}
					}
				})
			}
            
		</script>

	</body>

</html>